﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NCT.INVPOS.DataAccessLayer.Entity
{
    public class Branch : IEntity
    {
        public Branch()
        {
            Products = new List<Product>();
            IsActive = true;
        }

        public int Id { get; set; }
        public string Name { get; set; }
        public bool IsActive { get; set; }

        public virtual List<Product> Products { get; set; }

        public override string ToString()
        {
            return this.Name;
        }
    }
}
